
public class InitialPresentation {

	private static final int GOL_GENERATIONS=100;
	
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		int xSize = 50;
		int ySize = 50;
		DisplayGrid seedGrid = new DisplayGrid(ySize,xSize,"Seed");
		SeedPopulation seed = new SeedPopulation(xSize,ySize, seedGrid,true);
		DisplayGrid goalGrid = new DisplayGrid(ySize,xSize,"Goal");
		GoalPopulation goal  = new GoalPopulation(ySize,xSize,goalGrid);
		GameOfLife gol = new GameOfLife();
		DisplayGrid finalGrid = new DisplayGrid(ySize,xSize,"Final");
		EvolvedPopulation finalEvolved = new EvolvedPopulation(seed,finalGrid);
		RuleSet bestRule = new RuleSet();
		bestRule.loadBestRules();
		gol.reset(finalEvolved, bestRule);
		gol.runSimulation(1000);

	}

}
